<!--
 * @Author: your name
 * @Date: 2019-11-19 10:47:14
 * @LastEditTime: 2019-11-23 10:05:08
 * @LastEditors: Please set LastEditors
 * @Description: In User Settings Edit
 * @FilePath: \YouYouFo\you-you-go\src\views\goods\goodsComment.vue
 -->
<template>
  <div>
    <!-- <p>当前页面:商品评论页面</p> -->
    <yovi-comment
      :getCommentFun="getcomments"
      :postCommentFun="postcomment"
      :viId="parseInt($route.params.id)"
      :pageIndex="1"
    ></yovi-comment>
    <!-- {{getcomments}} -->
  </div>
</template>
           
<script>
import { getcomments, postcomment } from '@/api/index'
import YoviComment from '@/common/YoviComment'
export default {
  data() {
    return {
      getcomments,
      postcomment
    }
  },
  components: {
    'yovi-comment': YoviComment
  },
  created() {},
  methods: {}
}
</script>
<style scoped>
</style>